/*
 * @Description: 创建文件夹
 * @Author: dh
 * @Date: 2021-09-02 16:51:50
 * @LastEditors: dh
 * @LastEditTime: 2023-10-24 11:07:30
 */

const { mkdir } = require('node:fs/promises')
const { join } = require('node:path')

async function makeDirectory() {
	const dirCreation = await mkdir(join(__dirname, 'test', 'project'), { recursive: true })
	console.log(dirCreation)
	return dirCreation
}

makeDirectory().catch(console.error)
